<?php

use Illuminate\Support\Str;
return [

    /*
    |--------------------------------------------------------------------------
    | Default Database Connection Name
    |--------------------------------------------------------------------------
    |
    | Here you may specify which of the database connections below you wish
    | to use as your default connection for all database work. Of course
    | you may use many connections at once using the Database library.
    |
    */

    'default' => env('DB_CONNECTION', 'primary'),

    /*
    |--------------------------------------------------------------------------
    | Database Connections
    |--------------------------------------------------------------------------
    |
    | Here are each of the database connections setup for your application.
    | Of course, examples of configuring each database platform that is
    | supported by Laravel is shown below to make development simple.
    |
    |
    | All database work in Laravel is done through the PHP PDO facilities
    | so make sure you have the driver for your particular database of
    | choice installed on your machine before you begin development.
    |
    */

    'connections' => [

        'primary' => [ //主库
            'driver' => 'mysql',
            'host' => env('DB_HOST', '127.0.0.1'),
            'port' => env('DB_PORT', '3306'),
            'database' => env('DB_DATABASE', 'forge'),
            'username' => env('DB_USERNAME', 'forge'),
            'password' => env('DB_PASSWORD', ''),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],



        'function_0'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION0.DB_HOST'),
            'port' => env('FUNCTION0.DB_PORT'),
            'database' => env('FUNCTION0.DB_DATABASE' ),
            'username' => env('FUNCTION0.DB_USERNAME' ),
            'password' => env('FUNCTION0.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION0.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_0'=>[
            'driver' => 'mysql',
            'host' => env('LOG0.DB_HOST'),
            'port' => env('LOG0.DB_PORT'),
            'database' => env('LOG0.DB_DATABASE' ),
            'username' => env('LOG0.DB_USERNAME' ),
            'password' => env('LOG0.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_0'=>[
            'driver' => 'mysql',
            'host' => env('GAME0.DB_HOST'),
            'port' => env('GAME0.DB_PORT'),
            'database' => env('GAME0.DB_DATABASE' ),
            'username' => env('GAME0.DB_USERNAME' ),
            'password' => env('GAME0.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],

        'function_1'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION1.DB_HOST'),
            'port' => env('FUNCTION1.DB_PORT'),
            'database' => env('FUNCTION1.DB_DATABASE' ),
            'username' => env('FUNCTION1.DB_USERNAME' ),
            'password' => env('FUNCTION1.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION1.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_1'=>[
            'driver' => 'mysql',
            'host' => env('LOG1.DB_HOST'),
            'port' => env('LOG1.DB_PORT'),
            'database' => env('LOG1.DB_DATABASE' ),
            'username' => env('LOG1.DB_USERNAME' ),
            'password' => env('LOG1.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_1'=>[
            'driver' => 'mysql',
            'host' => env('GAME1.DB_HOST'),
            'port' => env('GAME1.DB_PORT'),
            'database' => env('GAME1.DB_DATABASE' ),
            'username' => env('GAME1.DB_USERNAME' ),
            'password' => env('GAME1.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        'function_2'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION2.DB_HOST'),
            'port' => env('FUNCTION2.DB_PORT'),
            'database' => env('FUNCTION2.DB_DATABASE' ),
            'username' => env('FUNCTION2.DB_USERNAME' ),
            'password' => env('FUNCTION2.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION2.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_2'=>[
            'driver' => 'mysql',
            'host' => env('LOG2.DB_HOST'),
            'port' => env('LOG2.DB_PORT'),
            'database' => env('LOG2.DB_DATABASE' ),
            'username' => env('LOG2.DB_USERNAME' ),
            'password' => env('LOG2.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_2'=>[
            'driver' => 'mysql',
            'host' => env('GAME2.DB_HOST'),
            'port' => env('GAME2.DB_PORT'),
            'database' => env('GAME2.DB_DATABASE' ),
            'username' => env('GAME2.DB_USERNAME' ),
            'password' => env('GAME2.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],



        'function_3'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION3.DB_HOST'),
            'port' => env('FUNCTION3.DB_PORT'),
            'database' => env('FUNCTION3.DB_DATABASE' ),
            'username' => env('FUNCTION3.DB_USERNAME' ),
            'password' => env('FUNCTION3.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION3.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_3'=>[
            'driver' => 'mysql',
            'host' => env('LOG3.DB_HOST'),
            'port' => env('LOG3.DB_PORT'),
            'database' => env('LOG3.DB_DATABASE' ),
            'username' => env('LOG3.DB_USERNAME' ),
            'password' => env('LOG3.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_3'=>[
            'driver' => 'mysql',
            'host' => env('GAME3.DB_HOST'),
            'port' => env('GAME3.DB_PORT'),
            'database' => env('GAME3.DB_DATABASE' ),
            'username' => env('GAME3.DB_USERNAME' ),
            'password' => env('GAME3.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        'function_4'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION4.DB_HOST'),
            'port' => env('FUNCTION4.DB_PORT'),
            'database' => env('FUNCTION4.DB_DATABASE' ),
            'username' => env('FUNCTION4.DB_USERNAME' ),
            'password' => env('FUNCTION4.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION4.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_4'=>[
            'driver' => 'mysql',
            'host' => env('LOG4.DB_HOST'),
            'port' => env('LOG4.DB_PORT'),
            'database' => env('LOG4.DB_DATABASE' ),
            'username' => env('LOG4.DB_USERNAME' ),
            'password' => env('LOG4.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_4'=>[
            'driver' => 'mysql',
            'host' => env('GAME4.DB_HOST'),
            'port' => env('GAME4.DB_PORT'),
            'database' => env('GAME4.DB_DATABASE' ),
            'username' => env('GAME4.DB_USERNAME' ),
            'password' => env('GAME4.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        'function_999'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION999.DB_HOST'),
            'port' => env('FUNCTION999.DB_PORT'),
            'database' => env('FUNCTION999.DB_DATABASE' ),
            'username' => env('FUNCTION999.DB_USERNAME' ),
            'password' => env('FUNCTION999.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION999.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_999'=>[
            'driver' => 'mysql',
            'host' => env('LOG999.DB_HOST'),
            'port' => env('LOG999.DB_PORT'),
            'database' => env('LOG999.DB_DATABASE' ),
            'username' => env('LOG999.DB_USERNAME' ),
            'password' => env('LOG999.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_999'=>[
            'driver' => 'mysql',
            'host' => env('GAME999.DB_HOST'),
            'port' => env('GAME999.DB_PORT'),
            'database' => env('GAME999.DB_DATABASE' ),
            'username' => env('GAME999.DB_USERNAME' ),
            'password' => env('GAME999.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],




        'function_898'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION898.DB_HOST'),
            'port' => env('FUNCTION898.DB_PORT'),
            'database' => env('FUNCTION898.DB_DATABASE' ),
            'username' => env('FUNCTION898.DB_USERNAME' ),
            'password' => env('FUNCTION898.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION898.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_898'=>[
            'driver' => 'mysql',
            'host' => env('LOG898.DB_HOST'),
            'port' => env('LOG898.DB_PORT'),
            'database' => env('LOG898.DB_DATABASE' ),
            'username' => env('LOG898.DB_USERNAME' ),
            'password' => env('LOG898.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_898'=>[
            'driver' => 'mysql',
            'host' => env('GAME898.DB_HOST'),
            'port' => env('GAME898.DB_PORT'),
            'database' => env('GAME898.DB_DATABASE' ),
            'username' => env('GAME898.DB_USERNAME' ),
            'password' => env('GAME898.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        'function_899'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION899.DB_HOST'),
            'port' => env('FUNCTION899.DB_PORT'),
            'database' => env('FUNCTION899.DB_DATABASE' ),
            'username' => env('FUNCTION899.DB_USERNAME' ),
            'password' => env('FUNCTION899.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION899.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_899'=>[
            'driver' => 'mysql',
            'host' => env('LOG899.DB_HOST'),
            'port' => env('LOG899.DB_PORT'),
            'database' => env('LOG899.DB_DATABASE' ),
            'username' => env('LOG899.DB_USERNAME' ),
            'password' => env('LOG899.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_899'=>[
            'driver' => 'mysql',
            'host' => env('GAME899.DB_HOST'),
            'port' => env('GAME899.DB_PORT'),
            'database' => env('GAME899.DB_DATABASE' ),
            'username' => env('GAME899.DB_USERNAME' ),
            'password' => env('GAME899.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],

        'function_998'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION998.DB_HOST'),
            'port' => env('FUNCTION998.DB_PORT'),
            'database' => env('FUNCTION998.DB_DATABASE' ),
            'username' => env('FUNCTION998.DB_USERNAME' ),
            'password' => env('FUNCTION998.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION998.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_998'=>[
            'driver' => 'mysql',
            'host' => env('LOG998.DB_HOST'),
            'port' => env('LOG998.DB_PORT'),
            'database' => env('LOG998.DB_DATABASE' ),
            'username' => env('LOG998.DB_USERNAME' ),
            'password' => env('LOG998.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_998'=>[
            'driver' => 'mysql',
            'host' => env('GAME998.DB_HOST'),
            'port' => env('GAME998.DB_PORT'),
            'database' => env('GAME998.DB_DATABASE' ),
            'username' => env('GAME998.DB_USERNAME' ),
            'password' => env('GAME998.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],

        'function_900'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION900.DB_HOST'),
            'port' => env('FUNCTION900.DB_PORT'),
            'database' => env('FUNCTION900.DB_DATABASE' ),
            'username' => env('FUNCTION900.DB_USERNAME' ),
            'password' => env('FUNCTION900.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION900.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_900'=>[
            'driver' => 'mysql',
            'host' => env('LOG900.DB_HOST'),
            'port' => env('LOG900.DB_PORT'),
            'database' => env('LOG900.DB_DATABASE' ),
            'username' => env('LOG900.DB_USERNAME' ),
            'password' => env('LOG900.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_900'=>[
            'driver' => 'mysql',
            'host' => env('GAME900.DB_HOST'),
            'port' => env('GAME900.DB_PORT'),
            'database' => env('GAME900.DB_DATABASE' ),
            'username' => env('GAME900.DB_USERNAME' ),
            'password' => env('GAME900.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],

        'function_96'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION96.DB_HOST'),
            'port' => env('FUNCTION96.DB_PORT'),
            'database' => env('FUNCTION96.DB_DATABASE' ),
            'username' => env('FUNCTION96.DB_USERNAME' ),
            'password' => env('FUNCTION96.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION96.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_96'=>[
            'driver' => 'mysql',
            'host' => env('LOG96.DB_HOST'),
            'port' => env('LOG96.DB_PORT'),
            'database' => env('LOG96.DB_DATABASE' ),
            'username' => env('LOG96.DB_USERNAME' ),
            'password' => env('LOG96.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_96'=>[
            'driver' => 'mysql',
            'host' => env('GAME96.DB_HOST'),
            'port' => env('GAME96.DB_PORT'),
            'database' => env('GAME96.DB_DATABASE' ),
            'username' => env('GAME96.DB_USERNAME' ),
            'password' => env('GAME96.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],

        'function_98'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION98.DB_HOST'),
            'port' => env('FUNCTION98.DB_PORT'),
            'database' => env('FUNCTION98.DB_DATABASE' ),
            'username' => env('FUNCTION98.DB_USERNAME' ),
            'password' => env('FUNCTION98.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION98.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_98'=>[
            'driver' => 'mysql',
            'host' => env('LOG98.DB_HOST'),
            'port' => env('LOG98.DB_PORT'),
            'database' => env('LOG98.DB_DATABASE' ),
            'username' => env('LOG98.DB_USERNAME' ),
            'password' => env('LOG98.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_98'=>[
            'driver' => 'mysql',
            'host' => env('GAME98.DB_HOST'),
            'port' => env('GAME98.DB_PORT'),
            'database' => env('GAME98.DB_DATABASE' ),
            'username' => env('GAME98.DB_USERNAME' ),
            'password' => env('GAME98.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],
        'function_99'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION99.DB_HOST'),
            'port' => env('FUNCTION99.DB_PORT'),
            'database' => env('FUNCTION99.DB_DATABASE' ),
            'username' => env('FUNCTION99.DB_USERNAME' ),
            'password' => env('FUNCTION99.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION99.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_99'=>[
            'driver' => 'mysql',
            'host' => env('LOG99.DB_HOST'),
            'port' => env('LOG99.DB_PORT'),
            'database' => env('LOG99.DB_DATABASE' ),
            'username' => env('LOG99.DB_USERNAME' ),
            'password' => env('LOG99.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_99'=>[
            'driver' => 'mysql',
            'host' => env('GAME99.DB_HOST'),
            'port' => env('GAME99.DB_PORT'),
            'database' => env('GAME99.DB_DATABASE' ),
            'username' => env('GAME99.DB_USERNAME' ),
            'password' => env('GAME99.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],

        'function_97'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION97.DB_HOST'),
            'port' => env('FUNCTION97.DB_PORT'),
            'database' => env('FUNCTION97.DB_DATABASE' ),
            'username' => env('FUNCTION97.DB_USERNAME' ),
            'password' => env('FUNCTION97.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION97.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_97'=>[
            'driver' => 'mysql',
            'host' => env('LOG97.DB_HOST'),
            'port' => env('LOG97.DB_PORT'),
            'database' => env('LOG97.DB_DATABASE' ),
            'username' => env('LOG97.DB_USERNAME' ),
            'password' => env('LOG97.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_97'=>[
            'driver' => 'mysql',
            'host' => env('GAME97.DB_HOST'),
            'port' => env('GAME97.DB_PORT'),
            'database' => env('GAME97.DB_DATABASE' ),
            'username' => env('GAME97.DB_USERNAME' ),
            'password' => env('GAME97.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        'function_100'=>[
            'driver' => 'mysql',
            'host' => env('FUNCTION100.DB_HOST'),
            'port' => env('FUNCTION100.DB_PORT'),
            'database' => env('FUNCTION100.DB_DATABASE' ),
            'username' => env('FUNCTION100.DB_USERNAME' ),
            'password' => env('FUNCTION100.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,

            'read' => [
                'host' => [
                    env('FUNCTION100.DB_HOST'),
                ],
            ],
            'write' => [
                'host' => [
                    'null',
                ],
            ],
        ],

        'log_100'=>[
            'driver' => 'mysql',
            'host' => env('LOG100.DB_HOST'),
            'port' => env('LOG100.DB_PORT'),
            'database' => env('LOG100.DB_DATABASE' ),
            'username' => env('LOG100.DB_USERNAME' ),
            'password' => env('LOG100.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


        //#私服
        'game_100'=>[
            'driver' => 'mysql',
            'host' => env('GAME100.DB_HOST'),
            'port' => env('GAME100.DB_PORT'),
            'database' => env('GAME100.DB_DATABASE' ),
            'username' => env('GAME100.DB_USERNAME' ),
            'password' => env('GAME100.DB_PASSWORD' ),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
        ],


    ],

    /*
    |--------------------------------------------------------------------------
    | Migration Repository Table
    |--------------------------------------------------------------------------
    |
    | This table keeps track of all the migrations that have already run for
    | your application. Using this information, we can determine which of
    | the migrations on disk haven't actually been run in the database.
    |
    */

    'migrations' => 'migrations',

    /*
    |--------------------------------------------------------------------------
    | Redis Databases
    |--------------------------------------------------------------------------
    |
    | Redis is an open source, fast, and advanced key-value store that also
    | provides a richer body of commands than a typical key-value system
    | such as APC or Memcached. Laravel makes it easy to dig right in.
    |
    */

    'redis' => [

        'client' => env('REDIS_CLIENT', 'phpredis'),

        'options' => [
            'cluster' => env('REDIS_CLUSTER', 'redis'),
            'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
        ],

        'default' => [
            'url' => env('REDIS_URL'),
            'host' => env('REDIS_HOST', '127.0.0.1'),
            'password' => env('REDIS_PASSWORD', null),
            'port' => env('REDIS_PORT', '6379'),
            'database' => env('REDIS_DB', '0'),
        ],

        'cache' => [
            'url' => env('REDIS_URL'),
            'host' => env('REDIS_HOST', '127.0.0.1'),
            'password' => env('REDIS_PASSWORD', null),
            'port' => env('REDIS_PORT', '6379'),
            'database' => env('REDIS_CACHE_DB', '1'),
        ],

    ],

];
